#ifndef ORDERTIMESDLG_H
#define ORDERTIMESDLG_H

#include<QMap>
#include <QDialog>

namespace Ui {
class OrderTimesDlg;
}

class OrderTimesDlg : public QDialog
{
    Q_OBJECT

public:
    explicit OrderTimesDlg(QWidget *parent = 0);
    ~OrderTimesDlg();

    int GetOrderTimes(QString key);
    bool JudgeKeyStringFlg(QString key);

public slots:
    void SlotJudgeTimesKeyString(QString msg);
    void SlotCurrentKeyChanged(QString key);
    void OKButtonClicked();

signals:
    void SigJudgeTimesKeyString(QString);

private:
    QMap<QString,int> m_OrderTimes;
    Ui::OrderTimesDlg *ui;
};

#endif // ORDERTIMESDLG_H
